package com.oracle.calllog.analyze.util;

/******************************************
 * @ClassName Constants
 * @Description 属性名称的常量映射类
 * @Author Mr.Chen
 * @Date 2022/6/11 22:19
 * @Version 1.0
 *****************************************/
public class Constants {
    public static final String TABLE_NAME = "cl:calllog";
    public static final int REGION_NUMS = 6;
    public static final String FAMILY_CALL = "call";
    public static final String QUALIFIER_CONTACT1_NO = "cno1";
    public static final String QUALIFIER_CONTACT1_NAME = "cname1";
    public static final String QUALIFIER_CONTACT2_NO = "cno2";
    public static final String QUALIFIER_CONTACT2_NAME = "cname2";
    public static final String QUALIFIER_BUILD_TIME = "btime";
    public static final String QUALIFIER_DURATION = "duration";
    public static final String QUALIFIER_CALL_ID = "cid";
    public static final String QUALIFIER_CONTACT1_DIVISION = "addr1";
    public static final String QUALIFIER_CONTACT1_NET_TYPE = "net1";
    public static final String QUALIFIER_CONTACT1_BIZ_TYPE = "biz1";
    public static final String QUALIFIER_CONTACT2_DIVISION = "addr2";
    public static final String QUALIFIER_CONTACT2_OPERATOR_TYPE = "operator2";
    public static final String QUALIFIER_CONTACT2_NET_TYPE = "net2";
    public static final String QUALIFIER_CONNECT_TYPE = "conntype";

    public static final String DRIVER_CLASS = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String CONNECTION_URL = "jdbc:phoenix:node101,node102,node103:2181";
    public static final String USER_NAME = "bduser";
    public static final String USER_PWD = "bduser";
    public static final String POOL_MAXSIZE = "5";
    public static final String DB_TYPE = "phoenix";
    public static final String PROPERTY_PHOENIX_KEY = "phoenix.schema.isNamespaceMappingEnabled";
    public static final String PROPERTY_PHOENIX_VALUE = "true";
    public static final String BATCH_MAXSIZE = "10000";




//    public static final String TABLE_NAME = "hbase.table.name";
//    public static final String REGION_NUMS = "hbase.region.nums";
//    public static final String FAMILY_CALL = "hbase.family.call";
//    public static final String QUALIFIER_CONTACT1_NO = "hbase.qualifier.contact1.no";
//    public static final String QUALIFIER_CONTACT1_NAME = "hbase.qualifier.contact1.name";
//    public static final String QUALIFIER_CONTACT2_NO = "hbase.qualifier.contact2.no";
//    public static final String QUALIFIER_CONTACT2_NAME = "hbase.qualifier.contact2.name";
//    public static final String QUALIFIER_BUILD_TIME = "hbase.qualifier.buildTime";
//    public static final String QUALIFIER_DURATION = "hbase.qualifier.duration";
//    public static final String QUALIFIER_CALL_ID = "hbase.qualifier.callId";
//    public static final String QUALIFIER_CONTACT1_DIVISION = "hbase.qualifier.contact1.division";
//    public static final String QUALIFIER_CONTACT1_NET_TYPE = "hbase.qualifier.contact1.netType";
//    public static final String QUALIFIER_CONTACT1_BIZ_TYPE = "hbase.qualifier.contact1.bizType";
//    public static final String QUALIFIER_CONTACT2_DIVISION = "hbase.qualifier.contact2.division";
//    public static final String QUALIFIER_CONTACT2_OPERATOR_TYPE = "hbase.qualifier.contact2.operatorType";
//    public static final String QUALIFIER_CONTACT2_NET_TYPE = "hbase.qualifier.contact2.netType";
//    public static final String QUALIFIER_CONNECT_TYPE = "hbase.qualifier.connectType";
//
//    public static final String DRIVER_CLASS = "jdbc.connect.driver";
//    public static final String CONNECTION_URL = "jdbc.connect.url";
//    public static final String USER_NAME = "jdbc.connect.username";
//    public static final String USER_PWD = "jdbc.connect.password";
//    public static final String POOL_MAXSIZE = "jdbc.connect.pool.maxsize";
//    public static final String BATCH_MAXSIZE = "jdbc.exec.batch.size";
}
